import Vue from 'vue'
import App from './App.vue'
import bus from './plugin/bus'

Vue.config.productionTip = false

// // 事件总线  --- 私有变量
// const eventBus = new Vue()
// Vue.prototype.$eventBus = eventBus

Vue.use(bus)

new Vue({
  render: h => h(App),
  data: { a: 1 }
}).$mount('#app')
